package com.zyzd.baseprojectofvolly.bean.local;


import java.io.Serializable;

/**
 * Created by LZY on 2017/6/28.
 */

public class ApiChatMessage implements Serializable {


    /**
     * chat_type : chat
     * direction : outgoing
     * from : ecffaf477a474d6e90457cecc9233644
     * msg_id : 348138310310299684
     * payload : {"bodies":[{"msg":"您好，我是咨询师小美","type":"txt"}],"ext":{"avater":"http://api.beaute2u.com/image/download/5a5d67a8ec9b48c08d9ecc3cb97c7fd4","nickname":"小美","type":1},"from":"ecffaf477a474d6e90457cecc9233644","to":"3b8900f72c6a421aa795026202b2068a"}
     * timestamp : 1498622066904
     * to : 3b8900f72c6a421aa795026202b2068a
     */

    private String chat_type;
    private String direction;
    private String from;
    private String msg_id;
    private PayloadBean payload = new PayloadBean();
    private long timestamp;
    private String to;

    public String getChat_type() {
        return chat_type;
    }

    public void setChat_type(String chat_type) {
        this.chat_type = chat_type;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getMsg_id() {
        return msg_id;
    }

    public void setMsg_id(String msg_id) {
        this.msg_id = msg_id;
    }

    public PayloadBean getPayload() {
        return payload;
    }

    public void setPayload(PayloadBean payload) {
        this.payload = payload;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }


}
